package com.talent.service;

import com.talent.entities.dto.Vacc;
import com.talent.entities.dto.VaccOrder;
import org.springframework.stereotype.Service;

import java.util.LinkedList;

/**
 * @author 周意朗
 * Date: 2022/4/26
 * @since JDK 11
 */
@Service
public interface PaymentSericve {
    public Vacc findVacc(String vaccid);

    public String addFavorite(String userid, String vaccid);

    public String deleteFavorite(String userid, String vaccid);

    public Boolean createOrder(VaccOrder vaccOrder);

    public Boolean finishOrder(String oid);

    public LinkedList<VaccOrder> selectOrder(String uid);

    public LinkedList<Vacc> selectFavorite(String tel);
}
